package com.xhdd.util.global;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import static com.xhdd.constant.Const.k;


@Data
@AllArgsConstructor
@NoArgsConstructor
/*网格左下角坐标,此cell为 *k扩充坐标*/
public class Cell {
    private double x;
    private double y;

    public void divK() {
        this.x /= k;
        this.y /= k;
    }
}